package com.yj.springbootfastdfs.common;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@PropertySource("classpath:common.properties")
@ConfigurationProperties(prefix = "file.url")
@Data
public class FileResource {
    private String path;
}
